package com.bqjr.xms;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.sleuth.zipkin.stream.EnableZipkinStreamServer;

/**
 * Description: ServerMonitorApplication.
 * Created by XHZ on 2017/8/25.
 */
@SpringBootApplication
//@EnableZipkinServer  //将http改为mq时，用EnableZipkinStreamServer代替
@EnableZipkinStreamServer// //使用Stream方式启动ZipkinServer
public class ServerMonitorApplication {
    public static void main(String[] args){
        SpringApplication.run(ServerMonitorApplication.class,args);
    }
}
